import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

public interface KeyValueStore extends Remote {
    void put(String key, String value) throws RemoteException;
    String get(String key) throws RemoteException;
    void removeKey(String key) throws RemoteException;
    public List<String> getNodesValue(String nodeId) throws RemoteException;
    public List<String> getNodesKey(String nodeId) throws RemoteException;
}
